﻿
IF (EXISTS(SELECT id from sysobjects where id=object_id('usp_GetVotes')))
	DROP PROCEDURE [dbo].[usp_GetVotes]
GO

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
go




create procedure usp_GetVotes
@CandidateId as int


as
select * from TblCandidate where CandidateId=@CandidateId;
